AlertDismissable
AlertDismissable Component
This component is a simple alert that can be dismissed.
Props
Prop | Type | Description |
---|---|---|
title | string | Title of the alert |
children | React.ReactNode | Content of the alert |
show | boolean | Whether to show the alert |
Example Usage
import AlertDismissable from '@site/src/components/AlertDismissable';
<AlertDismissable title="Alert Title" show={true}>
This is an alert message.
</AlertDismissable>